package org.exez.modules.system.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class RolePermissionSaveVO implements Serializable{
	private static final long serialVersionUID = 1L;

	/**部门id*/
	@ApiModelProperty(value = "部门id",required = true)
	@NotBlank(message = "部门id不能为空")
	private String roleId;

	/**对应的用户id集合*/
	@ApiModelProperty(value = "菜单id集合",required = true)
	@NotEmpty(message = "菜单不能为空")
	private List<String> permissionList;

}
